<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <ol>
        <li>The</li>
        <li>test</li>
    </ol>
    <ul>
        <li>has</li>
        <li>passed</li>
    </ul>
    <script>
        let lis = document.querySelectorAll('ul > li');
        console.log(lis);
    </script>
</body>
</html>